package com.cssy.yd.logic.service;


import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicSoReturnDO;
import com.cssy.yd.logic.entity.LogicSoReturnItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;

public interface ILogicSoReturnService extends IBaseService<LogicSoReturnDO> {

	public SearchResult findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	public Integer deleteItem(String id) throws SyBaseException;
	
	public Integer updateItem(LogicSoReturnItemDO t) throws SyBaseException;
	
	public LogicSoReturnItemDO saveItem(LogicSoReturnItemDO t) throws SyBaseException;
	
	public LogicSoReturnItemDO findItemListById(String id) throws SyBaseException;
	
	public List<LogicSoReturnItemDO> findItemListBypoId(String id) throws SyBaseException;
	
	@Transactional
	public void returnsave(HttpServletRequest request,LogicSoReturnDO t)throws SyBaseException;
}
